package com.jic.member.service;

import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.MemberRoster;
import com.jic.member.request.MemMemberRosterBatchRequest;
import com.jic.member.request.MemMemberRosterRequest;

import java.io.FileInputStream;
import java.util.List;

public interface MemMemberRosterService {

    RestResult insert(MemMemberRosterRequest memMemberRosterRequest);

    RestResult insert(MemMemberRosterBatchRequest request);

    long delete(Long id);

    long update(MemMemberRosterRequest memMemberRosterRequest);

    MemberRoster queryByPrimaryKey(Long id);

    List<MemberRoster> query(MemberRoster memberRoster);

    RestResult<PageResult<MemberRoster>> queryPage(MemMemberRosterRequest memMemberRosterRequest);

    List<String> importExcel(String fileName , FileInputStream fileInputStream);
}
